package com.power.sifa.correction.model.pageInfo;

import com.plf.common.domain.BasePageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

/**
 * 预警信息条件查询
 */

@Data
@ApiModel(value = "预警信息条件查询")
@EqualsAndHashCode(callSuper = false)
public class Cre_warningPageInfo extends BasePageInfo {

    @ApiModelProperty(value = "序号")
    private String f_id;
    @ApiModelProperty(value = "序号操作符")
    private String f_id_op = "like";

    @ApiModelProperty(value = "社矫人员id")
    private String f_perid;
    @ApiModelProperty(value = "社矫人员id操作符")
    private String f_perid_op = "like";

    @ApiModelProperty(value = "社矫姓名")
    private String f_pername;
    @ApiModelProperty(value = "社矫姓名操作符")
    private String f_pername_op = "like";

    @ApiModelProperty(value = "预警类型")
    private List<Integer> f_type;
    @ApiModelProperty(value = "预警类型操作符")
    private String f_type_op = "=";
    @ApiModelProperty(value = "预警时间", example = "2020-02-05 13:30:41")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private String f_rectime;
    @ApiModelProperty(value = "预警时间操作符")
    private String f_rectime_op = ">=";

    @ApiModelProperty(value = "预警时间_01", example = "2020-02-05 13:30:41")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private String f_rectime_01;
    @ApiModelProperty(value = "预警时间操作符")
    private String f_rectime_01_op = "<=";

    @ApiModelProperty(value = "预警地点")
    private String f_addr;
    @ApiModelProperty(value = "预警地点操作符")
    private String f_addr_op = "like";

    @ApiModelProperty(value = "处置类型")
    private List f_worktype;
    @ApiModelProperty(value = "处置类型操作符")
    private String f_worktype_op = "=";
    @ApiModelProperty(value = "是否有督办")
    private Integer f_issup;
    @ApiModelProperty(value = "是否有督办操作符")
    private String f_issup_op = "=";
    @ApiModelProperty(value = "是否有再办")
    private Integer f_isrepeat;
    @ApiModelProperty(value = "是否有再办操作符")
    private String f_isrepeat_op = "=";
    @ApiModelProperty(value = "来源公安id")
    private Integer f_gaid;
    @ApiModelProperty(value = "来源公安id操作符")
    private String f_gaid_op = "=";
    @ApiModelProperty(value = "照片")
    private String f_photo;
    @ApiModelProperty(value = "照片操作符")
    private String f_photo_op = "like";

    @ApiModelProperty(value = "罪名")
    private String f_crime;
    @ApiModelProperty(value = "处置单位")
    private List f_deptid;
    @ApiModelProperty(value = "处置单位操作符")
    private String f_deptid_op = "in";

    @ApiModelProperty(value = "状态")
    private List f_status;
    @ApiModelProperty(value = "状态操作符")
    private String f_status_op = "in";

    @ApiModelProperty(value = "身份证号")
    private String f_cardno;
    @ApiModelProperty(value = "姓名")
    private String f_name;

}
